//
//  GLEquipView.m
//  QAQ打飞机
//
//  Created by admin on 15/9/1.
//  Copyright (c) 2015年 gl. All rights reserved.
//

#import "GLEquipView.h"
#import "GLHero.h"
@implementation GLEquipView
-(id)initWithImages:(NSArray *)images
{
    self=[super initWithImage:images[0]];
    if (self !=nil) {
        GLHero *b=[[GLHero alloc]init];
        self.equipPoint=b.position;
        self.equipSize=b.size;
        [self setAnimationImages:images];
        [self setAnimationDuration:1.0f];
        [self startAnimating];
        
    }

    return self;

}
@end
